package com.bluelight.struts2.examples;

import com.opensymphony.xwork2.ActionSupport;

public class SayHelloAction extends ActionSupport {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 2390587047656152644L;

	private String person;
	private String message;

	private String reply;

	public SayHelloAction() {
	}

	@Override
	public String execute() throws Exception {

		this.reply = "I read the message from you,I'll do my best next time!";

		return SUCCESS;
	}

	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getReply() {
		return reply;
	}

	public void setReply(String reply) {
		this.reply = reply;
	}

}
